import java.util.*;

public class Employee extends Observable
{
	float salary;
	public void setSalary(float newSalary)
	{
		salary=newSalary;
		//marcheaza schimbarea
		setChanged();
		//notifica observatorii
		notifyObservers( new Float(salary));
	}
	
}
